package com.company.module.bussiness.impl;

import java.util.List;\

import com.company.module.dao.BaseDAO;
import com.company.module.model.Student;

public class Test001 {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		Student s = new Student();
//		s.setId(4);
//		s.setName("wakaka");
//		s.setAge(2);
//		StudentDAO dao = new StudentDAO(new Student());
//		Student s2 = dao.findById(1);
//		dao.save(s);
//		System.out.println("list size:"+s2.getName());
//		for(int i=0;i<list.size();i++){
//			System.out.println("student name"+list.get(i).getName());
//			System.out.println("student age"+list.get(i).getAge());
//		}
		//Student s2 = dao.findById(1);
		//dao.delete(s);
	}

}
